package com.gress.shop.dao;

import com.gress.shop.bo.MemberActionRelation;
import com.gress.shop.bo.example.MemberActionRelationExample;

import java.util.List;

/**
 * Created xiongwen with 2018/3/6 15:23
 * Description:
 */
public interface IMemberActionRelationDao {

    int deleteByExample(MemberActionRelationExample example);

    int deleteByPrimaryKey(String id);

    int deleteByActionId(String actionId);

    List<MemberActionRelation> selectByExample(MemberActionRelationExample example);

    MemberActionRelation selectByPrimaryKey(String id);

    MemberActionRelation queryMemberIdAndActionId(String memberId, String actionId);

    MemberActionRelation insertOrUpdate(MemberActionRelation memberActionRelation);

    List<MemberActionRelation> selectByMemberId(String memberId);

}
